﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Start page
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="UpdatesStatus" class="infoBox">
        <h4>
            Updates status</h4>
        <div>
        </div>
    </div>
    <div id="ComputersStatus" class="infoBox">
        <h4>
            Computers status</h4>
        <div>
        </div>
    </div>
    <div id="DownloadStatus" class="infoBox">
        <h4>
            Download status</h4>
        <div>
        </div>
    </div>
    <div id="SynchronizationStatus" class="infoBox">
        <h4>
            Synchronization status</h4>
        <div>
        </div>
    </div>
</asp:Content>
<asp:Content ContentPlaceHolderID="HeadContent" runat="server">
    <link href="/Content/Home/Index.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function () {
            loadBox('#UpdatesStatus > div', '/Home/UpdatesStatus');
            loadBox('#ComputersStatus > div', '/Home/ComputersStatus');
            loadBox('#SynchronizationStatus > div', '/Home/SynchronizationStatus');
            updateableBox('#DownloadStatus > div', '/Home/DownloadStatus');
        });
    </script>
</asp:Content>
